package com.rongxue.mapper;

import com.rongxue.pojo.SUserMoneyRecords;
import com.rongxue.pojo.SUserMoneyRecordsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SUserMoneyRecordsMapper {
    int countByExample(SUserMoneyRecordsExample example);

    int deleteByExample(SUserMoneyRecordsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SUserMoneyRecords record);

    int insertSelective(SUserMoneyRecords record);

    List<SUserMoneyRecords> selectByExample(SUserMoneyRecordsExample example);

    SUserMoneyRecords selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SUserMoneyRecords record, @Param("example") SUserMoneyRecordsExample example);

    int updateByExample(@Param("record") SUserMoneyRecords record, @Param("example") SUserMoneyRecordsExample example);

    int updateByPrimaryKeySelective(SUserMoneyRecords record);

    int updateByPrimaryKey(SUserMoneyRecords record);

    List<SUserMoneyRecords> selectMoneyRecordsByUserId(Long userId);

    int selectCashOutCount(String dayTime, Long id);
}